assert statement

英 [əˈsɜːt ˈsteɪtmənt] 美 [əˈsɜːrt ˈsteɪtmənt]

网络  断言语句

计算机



双语例句

  1. The assert statement simply verifies that the total_rows property is equal to4.
    assert语句仅验证totalrows属性是否等于4。
  2. Code exercised in a unit test will be reported as covered in the code-coverage statistics regardless of whether the test produced a decisive result or even contained an assert statement.
    单元测试中执行的代码将作为代码覆盖率统计信息的一部分进行报告,而无论测试是产生了一个确定的结果还是甚至包含有assert语句。
  3. A unit test that contains no assert statement automatically passes as long as it does not time out and does not throw an unexpected exception.
    不包含assert语句的单元测试只要不超时,并且不引发意外的异常,就会自动通过。
  4. Verify that it returns true, and use and assert statement to fail the test if the redirection fails.
    确认该调用返回true值;如果重定向失败,则使用assert语句使测试失败。
  5. The quality of credit assert will affect the survival and development of commercial banks and it is very necessary to establish and perfect the system of financial statement analysis of loaned enterprises in order to avoid credit risks.
    建立与完善对借款企业的财务报表分析制度,是银行加强与防范信贷风险有效措施。